package com.house.utils;

import java.io.File;
import java.io.IOException;

/**
 * @author: GGP
 * @description: 常量
 * @time: 2023-04-12 23:43
 **/
public class Constant {

	/** 本地图片根路径 */
	public static  String SAVE_PATH;

	static {
		try {
			SAVE_PATH = new File("").getCanonicalPath().replace("\\","/")+"/src/main/resources/static";
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

	/** 图片相对路径 */
	public static final String RELATIVE_PATH="/img/";



	/** 软删除值 */
	public static final Integer DEL_FLAG=0;

	public static final String USER_ROLE="普通用户";
	public static final String USER_ROLE1="房东";

	public static final Integer DEFUALT_VALUE=1;
}
